In this section of the HTMLib, I have tried to isolate and describe the various intrinsic event handlers that standard HTML elements support and which browser and scripting language supports them. There is also a discussion/comparison of the various objects supported by each languages Object model. This is by no means a JavaScript or Visual Basic Script reference, as it doesn't describe those languages operators, or in built functions or methods. It merely describes events that can be catered for in certain elements and the objects that are supported.

After some detail about Attaching Scripts to HTML pages, the script events are detailed by the HTML element that supports them. The elements that support the use of event handlers (as attributes) are as follows

<A> - Hypertext anchors
<AREA> - Client Side Image maps
<BODY> - Document body
<FORM> - Forms
<INPUT> - Form input objects
<SELECT> - Form select objects
<TEXTAREA> - Form textarea objects
<FRAMESET> - Frames
<IMG> - In Line images

There is also the Scripting Object Models discussion/comparison. The various objects of a HTML document are integral to scripting within as they allow manipulation of the various objects within the document (such as links, forms, etc.), by referencing object properties, methods or events.


Attaching Scripts to documents